body {
	background-color: #000;
	color: #fff;
	font-family: system-ui;
	font-size: 13px;
	line-height: 24px;
	overscroll-behavior: none;
}
body,html{
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

a {
	color: #ff0;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

button {
	cursor: pointer;
	text-transform: uppercase;
}

#info {
	position: absolute;
	top: 0px;
	width: 100%;
	padding: 10px;
	box-sizing: border-box;
	text-align: center;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	z-index: 1; /* TODO Solve this in HTML */
}

a, button, input, select {
	pointer-events: auto;
}

.lil-gui {
	z-index: 2 !important; /* TODO Solve this in HTML */
}

@media all and ( max-width: 640px ) {
	.lil-gui.root {
		right: auto;
		top: auto;
		max-height: 50%;
		max-width: 80%;
		bottom: 0;
		left: 0;
	}
}

#overlay {
	position: absolute;
	font-size: 16px;
	z-index: 2;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	background: rgba(0,0,0,0.7);
}

.header-title{
	position: fixed;
	text-align: center;
	width: 100%;
	padding: 10px;
	top: 0;
	font-size: 18px;
	animation: showTop 0.5s cubic-bezier(0.075,0.82,0.165,1) forwards;
}
.header-title .title-h1{
	margin: 10px 0;
}
.header-title .title-p{
	font-weight: lighter;
	margin-top: 0;
}
.display-none {
	display: none !important;
}

.hide {
	opacity: 0 !important;
}
.loading-con{
	opacity: 1;
	width: 100%;
	height: 100%;
}
.hide-loading{
	animation: hideOpacity 1s ease-in-out forwards;
}

.loading {
	position: fixed;
	color: #fff;
	padding: 20px;
	user-select: none;
	text-align: center;
	width: 100%;
	height: 100%;
	background: #000;
	left: 0;
	top: 0;
	z-index: 999;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.loading .loading-circle {
	width: 25px;
	height: 25px;
	border: 4px solid;
	border-radius: 50%;
	border-color: #fff #fff transparent transparent;
	transform: rotate(0deg);
	animation: rotate .8s infinite linear;
}

.loading .progress {
	margin-top: 10px;
}
.loading-complete {
	padding: 20px;
	user-select: none;
	text-align: center;
	width: 100%;
	height: 100%;
	background: #000;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 999;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-content: center;
}
.loading-complete > p {
	color: #fff;
	font-size: 20px;
	margin-bottom: 20px;
}
.loading-complete > p svg {
	vertical-align: middle;
}
.loading-complete > p:nth-of-type(2) {
	font-size: 16px;
}
.loading-complete .start {
	width: 50%;
	margin: 0 auto;
	cursor: pointer;
	color: #fff;
	font-size: 24px;
	font-weight: bold;
	padding: 5px 20px;
	border: 1px solid #fff;
	border-radius: 30px;
	-webkit-tap-highlight-color: transparent;
}
.loading-complete .start:active {
	background: #fff;
	color: #333;
}
.loading-complete .start:hover {
	background: #fff;
	color: #333;
}

.tip{
	display: none;
	position: absolute;
	background: rgba(255,255,255,0.8);
	color: #333;
	border-radius: 5px;
	border: 1px solid #2d2d2d;
	padding: 10px;
	font-size: 14px;
	z-index: 99;
}

.color-map{
	position: fixed;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	top: 50%;
	right: -50px;
	transform: translate(-50%,-50%);
	z-index: 99;
	transition: right 0.5s cubic-bezier(0.075,0.82,0.165,1);
}
.show-color-map{
	right: 0;
}
.color-map-item{
	border-radius: 50px;
	width: 25px;
	height: 25px;
	margin: 5px 0;
	border: 2px solid #fff;
	box-shadow: 0 -2px 7px 1px rgba(44, 38, 38, 0.2);
	cursor: pointer;
	transition: all 0.5s cubic-bezier(0.075,0.82,0.165,1);
}
.color-map-item:hover{
	transform: scale(1.16);
}
.wsad{
	position: fixed;
	bottom: 15px;
	left: 20px;
	z-index: 99;
	opacity: 0.3;
}
.wsad img{
	width: 100px;
}

@keyframes rotate {
	to {
		transform: rotate(360deg);
	}
}
@keyframes hideOpacity {
	to { opacity: 0;}
}

@keyframes showTop {
	to { top: 20px;}
}
